(menu-bar-mode): Fix previous change.
authorRichard M. Stallman <rms@gnu.org>
Mon, 30 May 1994 09:15:53 +0000 (09:15 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 30 May 1994 09:15:53 +0000 (09:15 +0000)
lisp/menu-bar.el

index 068a8956f87f6a503fe49b0d986602a08d4da489..cf0f3b174d52a39b348beab99bd15fe96a75739f 100644 (file)
@@ -416,7 +416,7 @@ turn off menu bars; otherwise, turn on menu bars."
    ;; Apply it to existing frames.
    (let ((frames (frame-list)))
      (while frames
-       (let ((height (cdr (assq 'height (frame-parameters (selected-frame))))))
+       (let ((height (cdr (assq 'height (frame-parameters (car frames))))))
         (modify-frame-parameters (car frames)
                                  (list (cons 'menu-bar-lines
                                            (if menu-bar-mode 1 0))))